package com.zyx.flowable.factory;

import com.zyx.flowable.domain.dto.FlowDeployProcDto;
import com.zyx.wanshu.util.PageUtils;
import lombok.Data;
import org.flowable.engine.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * <p>常用的Service</p>
 * <p>&emsp;&emsp;ProcessEngine</p>
 * <p>&emsp;&emsp;RepositoryService</p>
 * <p>&emsp;&emsp;RuntimeService</p>
 * <p>&emsp;&emsp;TaskService</p>
 * <p>&emsp;&emsp;......</p>
 *
 * @author Yaxi.Zhang
 * @since 2022/8/24 00:48
 */
@Component
@Data
public abstract class FlowServiceFactory {
    @Autowired
    protected ProcessEngine processEngine;
    @Autowired
    protected RepositoryService repositoryService;

    @Autowired
    protected RuntimeService runtimeService;
    @Autowired
    protected TaskService taskService;
    @Autowired
    protected IdentityService identityService;
    @Autowired
    protected ManagementService managementService;

    @Autowired
    protected HistoryService historyService;
}
